package org.example.designPattern.structural.bridge;

public class BigPen extends Pen {
    private String type;

    public BigPen(Color color) {
        type = "大笔";
        this.color = color;
    }

    @Override
    public void write() {
        System.out.println(String.format("使用 %S、%S颜料 写出了***", this.type, super.color));
    }
}
